package com.fr.base.core.antlr;

import com.fr.base.core.antlr.collections.AST;

public class CommonASTWithHiddenTokens extends CommonAST
{
  protected CommonHiddenStreamToken hiddenBefore;
  protected CommonHiddenStreamToken hiddenAfter;

  public CommonASTWithHiddenTokens()
  {
  }

  public CommonASTWithHiddenTokens(Token paramToken)
  {
    super(paramToken);
  }

  public CommonHiddenStreamToken getHiddenAfter()
  {
    return this.hiddenAfter;
  }

  public CommonHiddenStreamToken getHiddenBefore()
  {
    return this.hiddenBefore;
  }

  public void initialize(AST paramAST)
  {
    this.hiddenBefore = ((CommonASTWithHiddenTokens)paramAST).getHiddenBefore();
    this.hiddenAfter = ((CommonASTWithHiddenTokens)paramAST).getHiddenAfter();
    super.initialize(paramAST);
  }

  public void initialize(Token paramToken)
  {
    CommonHiddenStreamToken localCommonHiddenStreamToken = (CommonHiddenStreamToken)paramToken;
    super.initialize(localCommonHiddenStreamToken);
    this.hiddenBefore = localCommonHiddenStreamToken.getHiddenBefore();
    this.hiddenAfter = localCommonHiddenStreamToken.getHiddenAfter();
  }
}